﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Tech.ascx.cs" Inherits="controls_front_Tech" %>

<div class="mod ml5">
  <div class="tt">
    <h3>学术动态</h3>
    <div class="more"><a href="~/tech.aspx" runat="server" target="_blank"><img id="techlistmore" src="~/images/but_more.gif" alt="更多" width="35" height="25" runat="server" /></a></div>
  </div>
  <div class="cc">
	<ul>
        <asp:Repeater ID="techList" runat="server" >
            <ItemTemplate>
                <li>
                    <asp:HyperLink NavigateUrl='<%# "~/techView.aspx?id="+Eval("id")%>' runat="server" ID="techLink" 
                        ToolTip='<%#"标题：" + Eval("Title") + "\n上传时间：" + Eval("PublishDate")%>' Target="_blank">
                        <span class="cyan">[<%# Eval("PublishDate")%>]</span>&nbsp;&nbsp;<%# ((string)Eval("Title")).Length > 18 ? ((string)Eval("Title")).Substring(0,18)+"..": Eval("Title")%>
                    </asp:HyperLink>
                </li>
            </ItemTemplate>
        </asp:Repeater>
    </ul>
  </div>
</div>

